package reflect;

import java.util.Arrays;

public class ArgsDemo {
    public static void main(String[] args) {
        dosome(1,"a");
        dosome(1,"a","b");
        dosome(1,"a","b","c");
        dosome(1,"a","b","c","a");
    }
public static void dosome(int d,String... s){
    System.out.println(s.length);
    System.out.println(Arrays.toString(s));
}
}
